home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
Grafik & Text
/
OzTeX3.0
/
MetaPost
/
Docs
/
figs.mp
< prev
next >
Wrap
Text File
|
1996-08-24
|
406b
|
23 lines
input boxes
beginfig(1);
pair shadowshift; shadowshift=(1,-1)*bp;
def drawshadowed(text t) =
forsuffixes $=t:
fill bpath$ shifted shadowshift;
unfill bpath$;
drawboxed($);
endfor
enddef;
boxit.a(btex \s8A\s+2 \(lh a etex);
circleit.b(btex $e sup {i omega t}$ etex rotated 20);
b.w - a.e = (10,0)*bp;
drawshadowed(a,b);
draw a.e..b.w;
draw bbox currentpicture dashed evenly;
endfig;
end